/*
 * ClassWindow.h
 *
 *  Created on: 12/06/2011
 *      Author: dela
 */

#ifndef CLASSWINDOW_H_
#define CLASSWINDOW_H_

#include <gtkmm.h>
#include "common/Class.h"

class ClassWindow : public Gtk::Window {
private:
	Glib::RefPtr<Gtk::Builder> builder;

	// Boton guardar y salir.
	void onSave();

	// OnShow:
	void onShow();

	Class c;

	Gtk::ComboBoxText combo;
public:
	ClassWindow(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builder>& builder);

	void setClass(Class c) {this->c = c;};
};

#endif /* CLASSWINDOW_H_ */
